package com.smartsaas.ugclivii;

import com.smartsaas.ugclivii.ui.UiContext;
import nxopen.NXException;

import java.rmi.RemoteException;

public class BootStrap {
    public static void main(String [] argv) throws Exception
    {
        UiContext context = null;
        try
        {
            context = new UiContext();
            context.show();
        }
        catch(Exception ex)
        {
            UiContext.UI.nxmessageBox().show("系统提示", nxopen.NXMessageBox.DialogType.ERROR, ex.getMessage());
        }
        finally
        {
            if(context != null)
            {
                context.dispose();
                context = null;
            }
        }
    }
}
